package com.zero.xiaodai.utils;

import java.util.List;

import org.apache.commons.lang3.StringUtils;

public class ListUtil {
	
	public static boolean isNullOrEmpty(List<?> list) {
		if(list!=null&&list.size()>0) {
			return false;
		}
		return true;
	}
	
	public static String toString(List<String> list) {
		String str="";
		str=StringUtils.join(list.toArray(new String[list.size()]),",");
		return str;
	}

}
